package com.cch.cooperation.api.zone.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@ApiModel("动态评论新增参数")
@Data
public class ZonePostCommentAddDTO {

    @ApiModelProperty(value = "空间动态id", required = true)
    @NotEmpty(message = "空间动态id不能为空")
    private String zonePostId;

    @ApiModelProperty("回复的评论id，传递时代表回复评论")
    private String replyCommentId;

    @ApiModelProperty(value = "评论内容",required = true)
    @NotEmpty(message = "评论内容不能为空")
    private String content;

    @ApiModelProperty(value = "用户id", required = true)
    @NotEmpty(message = "用户id不能为空")
    private String userId;

}
